package Stream;

import java.io.Serializable;

public class Score implements Serializable {
	String userID;
	String irum;
	int kor, eng, tot;

	public Score(String id, String irum, int k, int e) {
		this.userID = id;
		this.irum = irum;
		this.kor = k;
		this.eng = e;

		tot = kor + eng;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getIrum() {
		return irum;
	}

	public void setIrum(String irum) {
		this.irum = irum;
	}

	public int getKor() {
		return kor;
	}

	public void setKor(int kor) {
		this.kor = kor;
	}

	public int getEng() {
		return eng;
	}

	public void setEng(int eng) {
		this.eng = eng;
	}

	public int getTot() {
		return tot;
	}

	public void setTot(int tot) {
		this.tot = tot;
	}

}
